package com.cssw.fyzb.web.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description:
 * @author: zzf
 * @time: 2020/12/23 16:00
 */
@ApiModel("系统消息")
@Data
public class SaveMsgDto {

    @NotNull(message = "标题不能为空")
    @ApiModelProperty("标题")
    private String title;

    @NotNull(message = "内容不能为空")
    @ApiModelProperty("内容")
    private String content;

}
